import request from '@/utils/request'

export function getBlogList(params) {
    return request({
        url: '/mogu-admin/blog/getList',
        method: 'post',
        data: params
    })
}

export function addBlog(params) {
    return request({
        url: '/mogu-admin/blog/addBlog',
        method: 'post',
        data: params
    })
}

export function editBlog(params) {
    return request({
        url: '/mogu-admin/blog/editBlog',
        method: 'post',
        data: params
    })
}